package com.spring.gop.proj.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.spring.gop.proj.interfaces.SearchDao;
import com.spring.gop.proj.interfaces.SearchService;
import com.spring.gop.proj.model.Search;
import com.spring.gop.proj.model.User;

@Service
public class SearchServiceImpl implements SearchService {
	
	@Autowired SearchDao searchDao;

	public User searchId(String member_name, String member_birth, String member_phone){
		return searchDao.searchId(member_name, member_birth, member_phone);
	}
	
	public User searchPw(String member_id, String member_name, String member_birth, String member_phone){
		return searchDao.searchPw(member_id, member_name, member_birth, member_phone);
	}
	
	public User checkId(String member_id) {
		return searchDao.checkId(member_id);
	}
}